package com.xxxx.blog.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xxxx.blog.entity.User;

public interface UserService extends IService<User> {

     int create(User user);

     int delete(Integer id);

     int update(User user);

     PageInfo<User> query(User user);

     User detail(Integer id);

     User login(String userName,String password);

     int count(User user);
}
